package linter.linterjava.POJO.DO;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 评论节点记录表
 * @author 北煜
 * @TableName review_records
 */
@TableName(value ="review_records")
@Data
public class ReviewRecords implements Serializable {
    /**
     * 评论祖先节点
     */
    @TableId
    private Integer ancestorId;

    /**
     * 评论后代节点
     */
    private Integer descendantId;

    /**
     * 节点之间的深度
     */
    private Integer depth;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
